package com.lfy.modules.ai.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * 
 * @TableName ai_model_user_contant
 */
@TableName(value ="ai_model_user_contant")
@Data
public class AiModelUserContantEntity implements Serializable {
    /**
     * 
     */
    @TableId(value = "id",type = IdType.AUTO)
    private Long id;

    /**
     * 用户
     */
    @TableField(value = "user_id")
    private Long userId;

    /**
     * 模型id
     */
    @TableField(value = "ai_model_id")
    private Integer aiModelId;
    @TableField(value = "ai_model_key")
    private Integer aiModelKey;

    /**
     * 可使用容量
     */
    @TableField(value = "capacity_all")
    private Long capacityAll;

    /**
     * 已使用容量
     */
    @TableField(value = "capacity_used")
    private Long capacityUsed;
    /**
     * 大模型id
     */
    @TableField(value = "ai_id")
    private Integer aiId;

    /**
     * 开通人
     */
    @TableField(value = "create_user")
    private Long createUser;

    /**
     * 更新人
     */
    @TableField(value = "update_user")
    private Long updateUser;

    /**
     * 
     */
    @TableField(value = "create_time")
    private Date createTime;

    /**
     * 
     */
    @TableField(value = "update_time")
    private Date updateTime;

    /**
     * 
     */
    @TableField(value = "create_ip")
    private String createIp;

    /**
     * 
     */
    @TableField(value = "create_ip_address")
    private String createIpAddress;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}